package com.ruoyi.baseData.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class ShiftVo extends BaseEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     *
     */
    private String code;

    /**
     *
     */
    private String name;

    /**
     *
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date startTime;

    /**
     *
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date endTime;

    /**
     *
     */
    private Integer workingTime;

}
